package cn.meomis.service;

import java.util.List;

import org.hibernate.criterion.DetachedCriteria;

import cn.meomis.common.entity.Pagination;
import cn.meomis.model.Che;
import cn.meomis.model.ValueDetail;


public interface ValueDetailService {

	List<ValueDetail> findAll();

	void save(ValueDetail demo);

	public void removeById(Integer id);

	Pagination pageQueryByHql(String hql, Object[] values,
			String countHql, int pageNumber, int pageSize);
    
	
	List<ValueDetail> queryListByProperty(String propertyName, Object value);
	
	public List<ValueDetail> queryList(DetachedCriteria criteria);

	ValueDetail findById(int parseInt);
}
